www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\Model\ComponentLabels\省市下拉选择框控件\showmode_label.asp

    <%'$start_ext_newDsoft 以下系统生成,勿删!
'$newDsoft_label_type$:asp_label$end_newDsoft_label_type$
'$newDsoft_label_name$:$showmode$-ComponentLabel-$$end_newDsoft_label_name$
'$newDsoft_label_sql$: $end_newDsoft_label_sql$
'$newDsoft_label_params$:$end_newDsoft_label_params$
'$newDsoft_label_fenye_num$: $end_newDsoft_label_fenye_num$
'$newDsoft_label_beizhu$:在列表页里的标签$end_newDsoft_label_beizhu$
'$newDsoft_is_sys_label$:0$end_newDsoft_is_sys_label$
'$newDsoft_other_params$:htmledxa:|htmledxb:$end_newDsoft_other_params$
'$end_ext_newDsoft%><% 
province_1=""
city_1=""
area_1=""
if $listm$myvalue$<>"" then
diqu_p=split($listm$myvalue$,"|")
province_1=diqu_p(0)
city_1=diqu_p(1)
end if

if province_1<>"" then
set rsss=server.createobject("adodb.recordset")
   sql12="select * from ND_diqu_province where provinceID='"&province_1&"'"
rsss.open sql12,newdsoft_conn_obj,1,1
if not rsss.eof then response.write rsss("province")&"/"
end if

if city_1<>"" then
set rsss2=server.createobject("adodb.recordset")
   sql12="select * from ND_diqu_city where cityID='"&city_1&"'"
rsss2.open sql12,newdsoft_conn_obj,1,1
if not rsss2.eof then response.write rsss2("city")&"/"
end if

%>